feat: add external provider to run Claude in separate terminal#102
feat: add external provider to run Claude in separate terminal#102ThomasK33 merged 10 commits intocoder:mainfrom
Conversation
I think it's pretty convenient to have Claude running in a separate window, separate from Neovim window. I think this is particularly useful on tiling window managers.
ThomasK33
left a comment
There was a problem hiding this comment.
That sounds like a good idea.
Could you please rebase onto main and address the review comments below?
Co-authored-by: Thomas Kosiewski <thoma471@googlemail.com>
Co-authored-by: Thomas Kosiewski <thoma471@googlemail.com>
Co-authored-by: Thomas Kosiewski <thoma471@googlemail.com>
ThomasK33
left a comment
There was a problem hiding this comment.
LGTM. Just a minor nit about the default in config.lua; once that's addressed, it's good to merge.
Co-authored-by: Thomas Kosiewski <thoma471@googlemail.com>
|
I had trouble running the tests locally, the scripts are very nix-oriented |
True. I've added a devcontainer configuration in #112 to make the setup easier. You can launch it in a devcontainer, and then Nix should be preinstalled. |
BTW, I was able to run the tests locally with these temporary changes to the Makefile. Of course, you'd have to install diff --git a/Makefile b/Makefile
index 2c2b329..1ecb30b 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ all: format check test
# Detect if we are already inside a Nix shell
ifeq (,$(IN_NIX_SHELL))
-NIX_PREFIX := nix develop .#ci -c
+NIX_PREFIX :=
else
NIX_PREFIX :=
endif
@@ -29,7 +29,7 @@ test:
echo "Found test files:"; \
echo "$$TEST_FILES"; \
if [ -n "$$TEST_FILES" ]; then \
- $(NIX_PREFIX) busted --coverage -v $$TEST_FILES; \
+ $(NIX_PREFIX) busted -v $$TEST_FILES; \
else \
echo "No test files found"; \
fi |
|
out of curiosity |
Cool. Please feel free to modify these to accommodate your local setup and preferences; however, we won't accept any changes that move away from Nix.
No. |
Nice, devcontainer is exactly what I needed. Pushed the fixes. |
|
Sweet, thanks @marcinjahn 👍 |
I think it's pretty convenient to have Claude running in a separate window, separate from Neovim window. I think this is particularly useful on tiling window managers.
Screencast.From.2025-08-02.23-43-19.mp4